﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Simple.Contracts.Models
{
    internal class FileModel
    {
    }

    /// <summary>
    /// 图片上传
    /// </summary>
    public class UploadImageDto
    {
        /// <summary>
        /// 文件Id
        /// </summary>
        public long fileId { get; set; }

        /// <summary>
        /// 文件Url
        public string fileUrl { get; set; } = "";
    }

    /// <summary>
    /// Mp3上传
    /// </summary>
    public class UploadMp3Dto
    {
        /// <summary>
        /// 文件Id
        /// </summary>
        public long fileId { get; set; }

        /// <summary>
        /// 文件Url
        public string fileUrl { get; set; } = "";

        /// <summary>
        /// 音频长度（单位秒）
        /// </summary>
        public double durationSecond {  get; set; }

        /// <summary>
        /// mp3语音识别内容
        /// </summary>
        public string? mp3Text {  get; set; }
    }
}
